package com.exam.mysql;

import com.exam.entity.ExExam;
import com.exam.entity.ExExamExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ExExamDao {
    long countByExample(ExExamExample example);

    int deleteByExample(ExExamExample example);

    int deleteByPrimaryKey(Integer examid);

    int insert(ExExam record);

    int insertSelective(ExExam record);

    List<ExExam> selectByExample(ExExamExample example);

    ExExam selectByPrimaryKey(Integer examid);

    int updateByExampleSelective(@Param("record") ExExam record, @Param("example") ExExamExample example);

    int updateByExample(@Param("record") ExExam record, @Param("example") ExExamExample example);

    int updateByPrimaryKeySelective(ExExam record);

    int updateByPrimaryKey(ExExam record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table ex_exam
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<ExExam> list);
}